count=0
for i in range(1,5):
    for j in range(1,5):
        for x in range(1,5):
            count+=1
            print("第"+str(count)+"个数:"+str(i)+str(j)+str(x))
print("总个数："+str(count))
